﻿using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Library.WebControls.SimpleGridView {
	[ToolboxItem(false)]
	[DesignTimeVisible(false)]
	[EditorBrowsable(EditorBrowsableState.Never)]
	[Browsable(false)]
	[PersistenceMode(PersistenceMode.InnerProperty)]
	public class SpGvCellItemTemplate : TableCell, IDataItemContainer {
		internal SpGvCellItemTemplate() {
			
		}
		public object DataItem { get; internal set; }
		public int DataItemIndex { get; internal set; }
		public int DisplayIndex { get; internal set; }
		public string Value {
			get { return Attributes["__spgvitemprovalue_"]; }
			set { Attributes["__spgvitemprovalue_"] = value; }
		}
	}
}
